package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TInform;
import cn.wolfcode.trip.base.query.MessageQueryObject;

import java.util.List;

public interface TInformMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TInform record);

    TInform selectByPrimaryKey(Integer id);

    List<TInform> selectAll();

    int updateByPrimaryKey(TInform record);

    List<TInform> selectByState(MessageQueryObject qo);

    List<TInform> getPriMsg(MessageQueryObject qo);

    int getPriMsgNum(MessageQueryObject qo);

    int getOnePriMsgNum(MessageQueryObject qo);
}